package studio.raptor.dispatcher.server.event;

import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;

/**
 * @author jack
 * @since 1.0
 */
public class DeadEventListener {

  boolean notDelivered = false;

  @Subscribe
  public void listen(DeadEvent event) {

    notDelivered = true;
  }

  public boolean isNotDelivered() {
    return notDelivered;
  }

}
